package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图文关系管理对象 picture_relationpicture
 * 
 * @author ruoyi
 * @date 2022-08-16
 */
public class PictureRelationpicture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private Long id;

    /** 图文动态ID */
    @Excel(name = "图文动态ID")
    private Long pictureId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 点赞 */
    @Excel(name = "点赞")
    private Long upStatus;

    /** 收藏 */
    @Excel(name = "收藏")
    private Long collectStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPictureId(Long pictureId) 
    {
        this.pictureId = pictureId;
    }

    public Long getPictureId() 
    {
        return pictureId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUpStatus(Long upStatus) 
    {
        this.upStatus = upStatus;
    }

    public Long getUpStatus() 
    {
        return upStatus;
    }
    public void setCollectStatus(Long collectStatus) 
    {
        this.collectStatus = collectStatus;
    }

    public Long getCollectStatus() 
    {
        return collectStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pictureId", getPictureId())
            .append("userId", getUserId())
            .append("upStatus", getUpStatus())
            .append("collectStatus", getCollectStatus())
            .toString();
    }
}
